using System.Windows.Media;

namespace Sany.AGV.RobotTool.ViewModels
{
    public class PaneViewModel : ViewModelBase
	{
		public PaneViewModel()
		{
		}

		/// <summary>
		/// 
		/// </summary>
		private string _title = null;
		public string Title
		{
			get => _title;
			set
			{
				if (_title != value)
				{
					_title = value;
					RaisePropertyChanged(nameof(Title));
				}
			}
		}

		/// <summary>
		/// 
		/// </summary>
		private string _contentId = null;
		public string ContentId
		{
			get => _contentId;
			set
			{
				if (_contentId != value)
				{
					_contentId = value;
					RaisePropertyChanged(nameof(ContentId));
				}
			}
		}

		/// <summary>
		/// 
		/// </summary>
		private bool _isSelected = false;
		public bool IsSelected
		{
			get => _isSelected;
			set
			{
				if (_isSelected != value)
				{
					_isSelected = value;
					RaisePropertyChanged(nameof(IsSelected));
				}
			}
		}

		/// <summary>
		/// 
		/// </summary>
		private bool _isActive = false;
		public bool IsActive
		{
			get => _isActive;
			set
			{
				if (_isActive != value)
				{
					_isActive = value;
					RaisePropertyChanged(nameof(IsActive));
				}
			}
		}
	}
}
